package com.qf.mybatisplus.mapper;


import com.qf.mybatisplus.bean.entity.KingBaseUser;
import com.qf.mybatisplus.bean.entity.Student;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface KingBaseMapper {
    /**
     * 通过用户名查询用户
     *
     * @param userName 用户名
     * @return 用户对象信息
     */
    //@Select("select * from \"public\".user where name=#{userName}")
     KingBaseUser selectUserByUserName(String userName);

     List<Student> selectStudent();
}
